#include "Base.h"
#include "ChessServer.h"
#include "ChessServerPlayer.h"
#include "ChessProtocol.h"
#include "ChessGame.h"

CChessServerPlayer::CChessServerPlayer(void)
{
}

CChessServerPlayer::~CChessServerPlayer(void)
{
}

void CChessServerPlayer::Reset()
{
	if(m_pGame == NULL)
		return;
	CChessGame *pGame = (CChessGame *)m_pGame;
	int nRoundTime = pGame->GetRoundTime();
	int nStepTime = pGame->GetStepTime();
	int nIncTimePerStep = pGame->GetIncTimePerStep();
	CChessPlayer::Reset(m_nSeat, nRoundTime, nStepTime, nIncTimePerStep);
}





